//
//  GCMCommonHttpRequst.m
//  GeeCityManager
//
//  Created by 聚城科技 on 16/4/18.
//  Copyright © 2016年 聚城科技. All rights reserved.
//

#import "GCMCommonHttpRequst.h"

@implementation GCMCommonHttpRequst

//+ (NSURLSessionDataTask *)getDataWithUrl:(NSString *)url Success:(void (^) (id obj , NSError *err ))success{

//    NSString *path = [@"WebServices/WeatherWebService.asmx/getWeatherbyCityName?theCityName=北京" URLEncodedString];
//    
//    return [[LYCAppNetAPIClient sharedClient] GET:url parameters:nil success:^(NSURLSessionDataTask * task, id  responseObject) {
//        //        数据下载成功回调
//        NSLog(@"%@",responseObject);
//        if (success) {
//            success(responseObject,nil);
//        }
//        
//    } failure:^(NSURLSessionDataTask *  task, NSError *  error) {
//        //        数据下载失败
//        NSLog(@"%@",error);
//        if (success) {
//            success(nil,error);
//        }
//    }];

//}
    
    
@end
